import cv2

img = cv2.imread('image.jpg')
red_channel = img[:, :, 0] # 获取红色通道（BGR）
print("Red Channel: ", red_channel)